﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Snowdreamist.Runtime.Services
{
    public interface IUIComposition : IRuntimeService
    {
        void ComposeValueInUIContext<T>(Action<T> postAction);

        void ComposeValueInUIContext<T>(string name, Action<T> postAction);

        T GetExportedValueInUIContext<T>(Action<T> postAction);

        T GetExportedValueInUIContext<T>(string name, Action<T> postAction);
    }
}